<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Flushes the output</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="streamwrapper.stream-eof.html">streamWrapper::stream_eof</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="streamwrapper.stream-lock.html">streamWrapper::stream_lock</a></div>
 <div class="up"><a href="class.streamwrapper.html">streamWrapper</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="streamwrapper.stream-flush" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">streamWrapper::stream_flush</h1>
  <p class="verinfo">(PHP 4 &gt;= 4.3.2, PHP 5)</p><p class="refpurpose"><span class="refname">streamWrapper::stream_flush</span> &mdash; <span class="dc-title">Flushes the output</span></p>

 </div>

 <div class="refsect1 description" id="refsect1-streamwrapper.stream-flush-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="type">bool</span> <span class="methodname"><strong>streamWrapper::stream_flush</strong></span>
    ( <span class="methodparam">void</span>
   )</div>

  <p class="para rdfs-comment">
   This method is called in response to <span class="function"><a href="function.fflush.html" class="function">fflush()</a></span>.
  </p>
  <p class="para">
   If you have cached data in your stream but not yet stored it into the
   underlying storage, you should do so now.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-streamwrapper.stream-flush-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-streamwrapper.stream-flush-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Should return <strong><code>TRUE</code></strong> if the cached data was successfully stored (or
   if there was no data to store), or <strong><code>FALSE</code></strong> if the data could
   not be stored.
  </p>
 </div>




 <div class="refsect1 notes" id="refsect1-streamwrapper.stream-flush-notes">
  <h3 class="title">注释</h3>
  <blockquote class="note"><p><strong class="note">Note</strong>: 
   <p class="para">
    If not implemented, <strong><code>FALSE</code></strong> is assumed as the return value.
   </p>
  </p></blockquote>
 </div>

 
 <div class="refsect1 seealso" id="refsect1-streamwrapper.stream-flush-seealso">
  <h3 class="title">参见</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"><span class="function"><a href="function.fflush.html" class="function" rel="rdfs-seeAlso">fflush()</a> - 将缓冲内容输出到文件</span></li>
   </ul>
  </p>
 </div>


</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="streamwrapper.stream-eof.html">streamWrapper::stream_eof</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="streamwrapper.stream-lock.html">streamWrapper::stream_lock</a></div>
 <div class="up"><a href="class.streamwrapper.html">streamWrapper</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>
